def check(num,datas):
    target_key=num
    target_value=''
    if target_key in datas:
        target_value = datas[target_key]
        # print(f"键 '{target_key}' 对应的value：{target_value}")
    # return [target_key,target_value]
        return True
#     else:
#         print(f"键 '{target_key}' 不在字典中")